package com.chenfan.mcn.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.chenfan.mcn.extension.log.FieldDesc;
import com.chenfan.mcn.model.base.BaseSaveEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 红人平台结算信息表
 * </p>
 *
 * @author wulg
 * @since 2023-06-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("star_platform_settlement_info")
public class StarPlatformSettlementInfo extends BaseSaveEntity {

    /**
     * 红人平台信息ID
     */
    @TableField("star_platform_info_id")
    private Long starPlatformInfoId;

    /**
     * 合作内容（取自数据字典）
     */
    @TableField("cooperation_content")
    private String cooperationContent;

    /**
     * 状态：0禁用、1启用
     */
    @TableField("status")
    private Long status;

    /**
     * 账号是否入驻：0否1是1
     */
    @TableField("in_system_admin")
    private Integer inSystemAdmin;

    /**
     * 是否参与绩效考核
     */
    @TableField("is_assessment")
    private Integer isAssessment;

    /**
     * 考核要求
     */
    @TableField("assess_requirement")
    private String assessRequirement;


    @TableField(exist = false)
    private String cooperationContentName;

    /**
     * 结算信息
     */
    @TableField(exist = false)
    @FieldDesc("结算信息")
    private String spsInfo;
}
